// Router.tsx
import type { JSX } from "react";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import routes from "./config/index";


export default function Router(): JSX.Element {
  const router = createBrowserRouter(routes);

  return <RouterProvider router={router} />
}
